package com.wanjl.springMvc.config;

import org.springframework.context.annotation.ComponentScan;
import org.springframework.context.annotation.Configuration;
import org.springframework.context.annotation.FilterType;
import org.springframework.context.annotation.Import;
import org.springframework.web.servlet.mvc.Controller;

/**
 * @author WanJl
 * @version 1.0
 * @title SpringConfig
 * @description
 * @create 2024/11/10
 */
@Configuration
/*@ComponentScan(value = "com.wanjl.springMvc",
        //excludeFilters排除扫描路径中加载的Bean
        excludeFilters = @ComponentScan.Filter(
        type = FilterType.ANNOTATION,
        value = {Controller.class}
        )
)*/
@ComponentScan({"com.wanjl.springMvc"})
//@Import({SpringMvcConfig.class})
public class SpringConfig {
}
